package cn.com.bluemoon.daps.model.service;

import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.model.dto.DapDataModelTableDto;
import cn.com.bluemoon.daps.model.dto.score.TableScoreDto;
import cn.com.bluemoon.daps.model.entity.DapDataModelTable;
import cn.com.bluemoon.daps.model.entity.DapDataModelTablePartition;
import cn.com.bluemoon.daps.model.entity.DapDataModelTableScoreRule;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DapDataModelTableScoreRuleService  extends IBmService<DapDataModelTableScoreRule> {

    /**
     * 表得分详情列表
     * @param list
     */
    List<TableScoreDto> getTableScore(List<DapDataModelTableDto> list, List<TableScoreDto> dtoList);


    /**
     * 单表得分详情
     * @param dto
     */
    List<DapDataModelTableScoreRule> singleTableScore(DapDataModelTableDto dto);
}
